<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	    		xmlns:ui="http://java.sun.com/jsf/facelets"
	  			xmlns:h="http://java.sun.com/jsf/html"
	  			xmlns:f="http://java.sun.com/jsf/core"
				xmlns:s="http://jboss.org/schema/seam/taglib"
				xmlns:m="http://metawidget.org/faces"
				template="template.xhtml">

<!-- content -->
<ui:define name="content">
<div class="section">
	<h1>View Hotel</h1>
</div>
<div class="section">

	<m:metawidget value="#{hotel}" readOnly="#{true}"/>

</div>
<div class="section">
	<h:form id="hotel">
	<fieldset class="buttonBox">
		<h:commandButton id="bookHotel" action="#{hotelBooking.bookHotel}" value="Book Hotel"/>&#160;
		<h:commandButton id="cancel" action="#{hotelBooking.cancel}" value="Back to Search"/>
	</fieldset>
	</h:form>
</div>
</ui:define>

<!-- sidebar -->
<ui:define name="sidebar">
</ui:define>

</ui:composition>
